<?php

namespace App\Http\Requests\Api;

class ResumePhotoOpenRequest extends ApiRequest
{
    public function rules()
    {
        return [
            'chkphoto_open' => 'bail|required|integer|in:0,1'
        ];
    }

    public function attributes()
    {
        return [
            'chkphoto_open' => '照片公开状态'
        ];
    }
}
